﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using HitachiApp.Model.Manage;

namespace HitachiApp.View.Manage
{
    public partial class AccessToggleControl : UserControl
    {
        public AccessToggleControl()
        {
            InitializeComponent();
        }

        private void CheckBox_Click(object sender, RoutedEventArgs e)
        {
            AccessToggleControlModel model = DataContext as AccessToggleControlModel;
            model.Update();
        }
    }
}
